#ifndef LIST_FILE_H
#define LIST_FILE_H

#include "File.h"
#include "Movie.h"
#include <list>

typedef std::list<File> FileList;

class ListFile
{
public:
	ListFile(void);
	void addFiles(std::string);
	void addFiles(std::string[],int);
	FileList searchName(std::string);
	FileList searchType(File::TypeFile); 
	FileList searchVName(std::string);
	FileList searchLabel(std::string);
	FileList searchTag(std::string);
	FileList searchTag(std::string,std::string);
	void sortASC();
	void sortDESC();
	~ListFile(void);
private:
	FileList list;
};

#endif
